﻿using System.ComponentModel.DataAnnotations;

namespace Shipeng.Application.Contracts.Dtos.Node
{
    public class ReloadConfigureDto
    {
        /// <summary>
        /// 是否重新加载身份认证数据
        /// </summary>
        [Required]
        public bool IsReloadAuthentication { get; set; }

        /// <summary>
        /// 是否重新加载白名单数据
        /// </summary>
        [Required]
        public bool IsReloadWhitelist { get; set; }


        /// <summary>
        /// 是否重新加载中间件数据
        /// </summary>
        [Required]
        public bool IsReloadMiddleware { get; set; }

        /// <summary>
        /// 是否重新加载Yarp相关数据
        /// </summary>
        [Required]
        public bool IsReloadYarp { get; set; }
    }
}
